<div style='padding-bottom: 1cm'>
	{include file="print_patient/element_print_header.html"}
</div>
<div style="width: 17cm; font-size: 14px;">
<table>
    <tr >
        <td align="center" style="padding-left: 4cm;padding-right: 4cm;">
        	<span class="printHeader" style="font: bold;">{translate}Report on patient died inside hospital{/translate}</span>
        </td>
    </tr>
</table>

<table width="100%" cellspacing="5px">
    <tr style="border-bottom: 1px dotted #000;">
        <td style="width: 1.4cm;">{translate}Full name{/translate}:</td>
        <td style="border-bottom: 1px dotted #000; width: 7cm;">{$patient->getName()}</td>
        <td style="width: 3.0cm;">{translate}Birthday{/translate} - {translate}Age{/translate}:</td>
        <td style="border-bottom: 1px dotted #000;">{$patient->getDateofBirth()} - {translate p1=$patient->getAge()}Age: %s{/translate}</td>
        <td style="border-bottom: 1px dotted #000;">
        	{if $patient->getGender()=='male'}
            <span class='label'>{translate}Male{/translate}</span>
           {else}  
            <span class='label'>{translate}Female{/translate}
           {/if}  
        </td>
    </tr>
</table>
<table width="100%">
	<tr>
        <td style="width: 3.2cm;">{translate}Patient's ID{/translate}:</td>
        <td style="border-bottom: 1px dotted #000;">{$patientCode}</td>
    </tr>
    <tr>
        <td style="width: 3.2cm;">{translate}Check-in time{/translate}:</td>
        <td style="border-bottom: 1px dotted #000;">{translate p1=$deathInfo->getCheckInTime('hh') p2=$deathInfo->getCheckInTime('mm') p3=$deathInfo->getCheckInDate()}%s oclock %s minute, date %s{/translate}</td>
    </tr>
    <tr>
        <td>{translate}Death time{/translate}:</td>
        <td style="border-bottom: 1px dotted #000;">{translate p1=$deathInfo->getDeathTime('hh') p2=$deathInfo->getDeathTime('mm') p3=$deathInfo->getDeathDate()}%s oclock %s minute, date %s{/translate}</td>
    </tr>
    <tr>
    	<td>{translate}Department{/translate}</td>
    	<td style="border-bottom: 1px dotted #000;">{$department}</td>
    </tr>
</table>
<table width="100%">
    <tr>
        <td style='width: 4.5cm'>{translate}Checkout death time{/translate}:</td>
        <td style="border-bottom: 1px dotted #000;">{translate p1=$deathInfo->getCheckOutDeathTime('hh') p2=$deathInfo->getCheckOutDeathTime('mm') p3=$deathInfo->getCheckOutDeathDate()}%s oclock %s minute, date %s{/translate}</td>
    </tr>
</table>  
<table width="100%">
	<tr>
		<td style='width:3.2cm'>{translate}Preside{/translate}:</td>
		<td style="border-bottom: 1px dotted #000;">{$deathInfo->get('preside')}</td>
		<td style='width:2.2cm'>{translate}Secretary{/translate}:</td>
		<td style="border-bottom: 1px dotted #000;">{$deathInfo->get('secretary')}</td>
	</tr>
	<tr>
		<td colspan='4'>{translate}Participants{/translate}:</td>
	</tr>
	<tr>
		<td colspan='4' style="border-bottom: 1px dotted #000;">{$deathInfo->get('participants')}</td>
	</tr>
	<tr>
        <td colspan='4' style="border-bottom: 1px dotted #000;">&nbsp;</td>
    </tr>
    <tr>
        <td colspan='4' style="border-bottom: 1px dotted #000;">&nbsp;</td>
    </tr>
</table>  
<table width="100%">
    <tr>
        <td colspan='2'>{translate}Summary of treatment process{/translate}:</td>
    </tr>
    <tr>
        <td colspan='2' style="border-bottom: 1px dotted #000;">{$deathInfo->get('medication_process')}</td>
    </tr>
    <tr>
        <td colspan='2' style="border-bottom: 1px dotted #000;">&nbsp;</td>
    </tr>
    <tr>
        <td colspan='2' style="border-bottom: 1px dotted #000;">&nbsp;</td>
    </tr>
</table>    
<table width="100%">
    <tr>
        <td style="width: 1.7cm;">{translate}Conclusion{/translate}:</td>
        <td style="border-bottom: 1px dotted #000;">{$deathInfo->get('conclusion')}</td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td style="border-bottom: 1px dotted #000;">&nbsp;</td>
    </tr>
</table>
<br/>
<table width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <td width="50%" align="left""><span style="text-transform: uppercase;font-weight: bold;">{translate}Secretary{/translate}<br/></span></td>
        <td width="12%" align="left">
        	<span style="text-transform: uppercase;font-weight: bold;">{translate}Report date{/translate}</span>
       	</td>
       	<td width="28%" style="border-bottom: 1px dotted #000;"></td>
    </tr>
    <tr>
    	<td></td>
    	<td colspan='2' style="text-transform: uppercase;font-weight: bold; text-align: center;">
        	<span>{translate}Preside{/translate}</span>
        </td>
    </tr>
</table>
</div>
